#include "gpio.h"
#define GPF4_OUT (1<<(4*2))
#define GPF5_OUT (1<<(5*2))
#define GPF6_OUT (1<<(6*2))

#define WTCON (*(volatile unsigned long *)0x53000000)
void delay(void)
{
	int i;
	for(i = 0; i < 30000;i++);
}
int main(void)
{
	WTCON = 0;
	GPFCON |= GPF4_OUT;
	GPFCON |= GPF5_OUT;
	GPFCON |= GPF6_OUT;

	GPFDAT &= ~(1<<4); 
	GPFDAT |= (1<<5); 
	GPFDAT &= ~(1<<6);
	while(1)
	{
 
	GPFDAT ^= (1<<4); 
	GPFDAT ^= (1<<5); 
	GPFDAT ^= (1<<6);
	delay();
	}
}
